# # 打印1000以内水仙花数
# '''for sum in range(100,1000):
#     a = sum // 100
#     b = (sum % 100) // 10
#     c = sum % 10
#     if sum == a**3 + b**3 + c**3 :
#         print(sum)
# '''
#
#
# # 打印100以内完数
# def is_hanshu(num):
#     sum = 0
#     for i in range(1, num):
#         if sum % i == 0:
#             sum += i
#             return sum == num
#
#
# for i in range(1, 100):
#     if is_hanshu(i):
#         print(i)
#         break
#
# # 打印100以内质数
# for i in range(1, 100):
#     a = 0
#     for j in range(1, i):
#         if (i % j == 0):
#             a = 1
#             break
#     if (a == 0):
#         print(i)
print("开始下载".center(50, "="))
for i in range(0, 101, 2):

    if i == 100:
        print("下载完成")
        break
    else:
        print(f'{i} % [', "*" * (i // 2), "." * (50 - i // 2), "]")
